package io.terminus.paas.profiler.service

import io.terminus.paas.profiler.model.TracingRecord

/**
 * Created by gengrong on 16/4/5.
 */
interface MonitorService {

    fun findByServiceId(registryAddress: String, serviceId: String): List<TracingRecord>

    fun findByServiceIdAndRootId(registryAddress: String, serviceId: String, rootId: String): List<TracingRecord>

    fun deleteByRootId(registryAddress: String, serviceId: String, rootId: String)

}